from1(X) -> cons2(X, n__from1(s1(X)))
first2(0, Z) -> nil
first2(s1(X), cons2(Y, Z)) -> cons2(Y, n__first2(X, activate1(Z)))
sel2(0, cons2(X, Z)) -> X
sel2(s1(X), cons2(Y, Z)) -> sel2(X, activate1(Z))
from1(X) -> n__from1(X)
first2(X1, X2) -> n__first2(X1, X2)
activate1(n__from1(X)) -> from1(X)
activate1(n__first2(X1, X2)) -> first2(X1, X2)
activate1(X) -> X
↳ QTRS
↳ DependencyPairsProof
from1(X) -> cons2(X, n__from1(s1(X)))
first2(0, Z) -> nil
first2(s1(X), cons2(Y, Z)) -> cons2(Y, n__first2(X, activate1(Z)))
sel2(0, cons2(X, Z)) -> X
sel2(s1(X), cons2(Y, Z)) -> sel2(X, activate1(Z))
from1(X) -> n__from1(X)
first2(X1, X2) -> n__first2(X1, X2)
activate1(n__from1(X)) -> from1(X)
activate1(n__first2(X1, X2)) -> first2(X1, X2)
activate1(X) -> X
SEL2(s1(X), cons2(Y, Z)) -> ACTIVATE1(Z)
SEL2(s1(X), cons2(Y, Z)) -> SEL2(X, activate1(Z))
ACTIVATE1(n__first2(X1, X2)) -> FIRST2(X1, X2)
ACTIVATE1(n__from1(X)) -> FROM1(X)
FIRST2(s1(X), cons2(Y, Z)) -> ACTIVATE1(Z)
from1(X) -> cons2(X, n__from1(s1(X)))
first2(0, Z) -> nil
first2(s1(X), cons2(Y, Z)) -> cons2(Y, n__first2(X, activate1(Z)))
sel2(0, cons2(X, Z)) -> X
sel2(s1(X), cons2(Y, Z)) -> sel2(X, activate1(Z))
from1(X) -> n__from1(X)
first2(X1, X2) -> n__first2(X1, X2)
activate1(n__from1(X)) -> from1(X)
activate1(n__first2(X1, X2)) -> first2(X1, X2)
activate1(X) -> X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
SEL2(s1(X), cons2(Y, Z)) -> ACTIVATE1(Z)
SEL2(s1(X), cons2(Y, Z)) -> SEL2(X, activate1(Z))
ACTIVATE1(n__first2(X1, X2)) -> FIRST2(X1, X2)
ACTIVATE1(n__from1(X)) -> FROM1(X)
FIRST2(s1(X), cons2(Y, Z)) -> ACTIVATE1(Z)
from1(X) -> cons2(X, n__from1(s1(X)))
first2(0, Z) -> nil
first2(s1(X), cons2(Y, Z)) -> cons2(Y, n__first2(X, activate1(Z)))
sel2(0, cons2(X, Z)) -> X
sel2(s1(X), cons2(Y, Z)) -> sel2(X, activate1(Z))
from1(X) -> n__from1(X)
first2(X1, X2) -> n__first2(X1, X2)
activate1(n__from1(X)) -> from1(X)
activate1(n__first2(X1, X2)) -> first2(X1, X2)
activate1(X) -> X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
ACTIVATE1(n__first2(X1, X2)) -> FIRST2(X1, X2)
FIRST2(s1(X), cons2(Y, Z)) -> ACTIVATE1(Z)
from1(X) -> cons2(X, n__from1(s1(X)))
first2(0, Z) -> nil
first2(s1(X), cons2(Y, Z)) -> cons2(Y, n__first2(X, activate1(Z)))
sel2(0, cons2(X, Z)) -> X
sel2(s1(X), cons2(Y, Z)) -> sel2(X, activate1(Z))
from1(X) -> n__from1(X)
first2(X1, X2) -> n__first2(X1, X2)
activate1(n__from1(X)) -> from1(X)
activate1(n__first2(X1, X2)) -> first2(X1, X2)
activate1(X) -> X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ACTIVATE1(n__first2(X1, X2)) -> FIRST2(X1, X2)
Used ordering: Polynomial Order [17,21] with Interpretation:
FIRST2(s1(X), cons2(Y, Z)) -> ACTIVATE1(Z)
POL( ACTIVATE1(x1) ) = x1
POL( n__first2(x1, x2) ) = x2 + 1
POL( FIRST2(x1, x2) ) = max{0, x2 - 1}
POL( cons2(x1, x2) ) = x2 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
↳ QDP
FIRST2(s1(X), cons2(Y, Z)) -> ACTIVATE1(Z)
from1(X) -> cons2(X, n__from1(s1(X)))
first2(0, Z) -> nil
first2(s1(X), cons2(Y, Z)) -> cons2(Y, n__first2(X, activate1(Z)))
sel2(0, cons2(X, Z)) -> X
sel2(s1(X), cons2(Y, Z)) -> sel2(X, activate1(Z))
from1(X) -> n__from1(X)
first2(X1, X2) -> n__first2(X1, X2)
activate1(n__from1(X)) -> from1(X)
activate1(n__first2(X1, X2)) -> first2(X1, X2)
activate1(X) -> X
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
SEL2(s1(X), cons2(Y, Z)) -> SEL2(X, activate1(Z))
from1(X) -> cons2(X, n__from1(s1(X)))
first2(0, Z) -> nil
first2(s1(X), cons2(Y, Z)) -> cons2(Y, n__first2(X, activate1(Z)))
sel2(0, cons2(X, Z)) -> X
sel2(s1(X), cons2(Y, Z)) -> sel2(X, activate1(Z))
from1(X) -> n__from1(X)
first2(X1, X2) -> n__first2(X1, X2)
activate1(n__from1(X)) -> from1(X)
activate1(n__first2(X1, X2)) -> first2(X1, X2)
activate1(X) -> X
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
SEL2(s1(X), cons2(Y, Z)) -> SEL2(X, activate1(Z))
POL( SEL2(x1, x2) ) = x1
POL( s1(x1) ) = x1 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
from1(X) -> cons2(X, n__from1(s1(X)))
first2(0, Z) -> nil
first2(s1(X), cons2(Y, Z)) -> cons2(Y, n__first2(X, activate1(Z)))
sel2(0, cons2(X, Z)) -> X
sel2(s1(X), cons2(Y, Z)) -> sel2(X, activate1(Z))
from1(X) -> n__from1(X)
first2(X1, X2) -> n__first2(X1, X2)
activate1(n__from1(X)) -> from1(X)
activate1(n__first2(X1, X2)) -> first2(X1, X2)
activate1(X) -> X